package com.beemans.common.app.ui.adapters

import com.beemans.common.app.R
import com.beemans.common.app.databinding.ItemStickyBinding
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder

/**
 * @author tiamosu
 * @date 2021/8/30.
 */
class StickyAdapter :
    BaseQuickAdapter<String, BaseDataBindingHolder<ItemStickyBinding>>(R.layout.item_sticky) {

    override fun convert(holder: BaseDataBindingHolder<ItemStickyBinding>, item: String) {
        holder.dataBinding?.apply {
            stickyTvTitle.text = item
        }
    }
}